package com.example.designpatterns.creational.abstractFactory;

import com.example.designpatterns.creational.factory.NoShape;
import com.example.designpatterns.creational.factory.Shape;

/**
 * @author zuitu@foxmail.com
 * @date 2024/1/19
 */
public abstract class AbstractFactory {
    public Color getColor(String color) {
        return new NoColor();
    };
    public Shape getShape(String shape) {
        return new NoShape();
    };
}
